package com.auto.api.http.dto.result;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * Description: controller_url_mapping映射
 * @author liangshf
 * @date 2019-04-30
 */
public class ApiInfoDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键 自增
     */
	private Integer id;
	
    /**
     * controllerName
     */
	private String controllerName;
	
    /**
     * Url
     */
	private String url;
	
    /**
     * 请求类型
     */
	private String requestType;
	
    /**
     * 请求方法名
     */
	private String methodName;
	
    /**
     * 方法参数
     */
	private String args;

	/**
	 * 模拟数据标志(0-正式数据,1-模拟数据)
	 */
	private Integer mockType;

	 /**
     * 方法参数 json
     */
	private String paramJson;

	private String resultJson;//返回值json
	private String mockResultJson;//mock返回值json(新增时与result_json一致，修改不同步可能有某个场景返回特定json)
	
	private String resultApiJson;//返回值Api json
	
	 /**
     * 方法参数Api json
     */
	private String paramApiJson;

	
    /**
     * 删除标志, 0-未删除,1-已删除
     */
	private Integer del;
	
    /**
     * 创建人id
     */
	private Long createdBy;
	
    /**
     * 创建时间
     */
	private LocalDateTime createdTime;
	
    /**
     * 更新人id
     */
	private Long updatedBy;
	
    /**
     * 更新时间
     */
	private LocalDateTime updatedTime;
	

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}


	public String getControllerName() {
		return controllerName;
	}

	public void setControllerName(String controllerName) {
		this.controllerName = controllerName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getRequestType() {
		return requestType;
	}

	public void setRequestType(String requestType) {
		this.requestType = requestType;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getArgs() {
		return args;
	}

	public void setArgs(String args) {
		this.args = args;
	}

	public Integer getDel() {
		return del;
	}

	public void setDel(Integer del) {
		this.del = del;
	}

	public Long getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(Long createdBy) {
		this.createdBy = createdBy;
	}

	public LocalDateTime getCreatedTime() {
		return createdTime;
	}

	public void setCreatedTime(LocalDateTime createdTime) {
		this.createdTime = createdTime;
	}

	public Long getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(Long updatedBy) {
		this.updatedBy = updatedBy;
	}

	public LocalDateTime getUpdatedTime() {
		return updatedTime;
	}

	public void setUpdatedTime(LocalDateTime updatedTime) {
		this.updatedTime = updatedTime;
	}
	

	public String getParamJson() {
		return paramJson;
	}

	public void setParamJson(String paramJson) {
		this.paramJson = paramJson;
	}

	public String getResultJson() {
		return resultJson;
	}

	public void setResultJson(String resultJson) {
		this.resultJson = resultJson;
	}

	public String getResultApiJson() {
		return resultApiJson;
	}

	public void setResultApiJson(String resultApiJson) {
		this.resultApiJson = resultApiJson;
	}

	public String getParamApiJson() {
		return paramApiJson;
	}

	public void setParamApiJson(String paramApiJson) {
		this.paramApiJson = paramApiJson;
	}

	public Integer getMockType() {
		return mockType;
	}

	public void setMockType(Integer mockType) {
		this.mockType = mockType;
	}

	public String getMockResultJson() {
		return mockResultJson;
	}

	public void setMockResultJson(String mockResultJson) {
		this.mockResultJson = mockResultJson;
	}

	@Override
	public String toString() {
		return "ApiInfoDTO{" +
				"id=" + id +
				", controllerName='" + controllerName + '\'' +
				", url='" + url + '\'' +
				", requestType='" + requestType + '\'' +
				", methodName='" + methodName + '\'' +
				", args='" + args + '\'' +
				", mockType=" + mockType +
				", paramJson='" + paramJson + '\'' +
				", resultJson='" + resultJson + '\'' +
				", mockResultJson='" + mockResultJson + '\'' +
				", resultApiJson='" + resultApiJson + '\'' +
				", paramApiJson='" + paramApiJson + '\'' +
				", del=" + del +
				", createdBy=" + createdBy +
				", createdTime=" + createdTime +
				", updatedBy=" + updatedBy +
				", updatedTime=" + updatedTime +
				'}';
	}
}
